Piwik\Plugin\Controller C

Total Complexity 110
Dependencies 40
Dependents 0
Total lines 1,012
Lines of code 480
Logical lines of code 294
Comment lines 361
Methods 34
Properties 6

Methods 34

Method Rating Maintainability Complexity Lines of code
setBasicVariablesNoneAdminView()
A
41 13 48
getLastUnitGraphAcrossPlugins()
A
48 11 29
renderTemplateAs()
A
51 11 24
setGeneralVariablesViewAs()
A
41 8 56
renderReport()
S
51 7 25
setHostValidationVariablesView()
S
41 4 61
getGraphParamsModified()
S
58 5 14
redirectToIndex()
S
51 4 25
getDateParameterInTimezone()
S
62 4 12
setPeriodVariablesView()
S
56 3 18
checkTokenInUrl()
S
63 4 10
checkSitePermission()
S
65 4 9
getUrlSparkline()
S
58 3 15
getValidDate()
S
67 3 9
checkViewType()
S
72 3 5
init()
S
58 2 14
getEnabledPeriodsNames()
S
52 1 27
doRedirectToUrl()
S
61 2 12
getCalendarPrettyDate()
S
69 2 7
getNumericValue()
S
69 2 6
getPrettyDate()
S
77 1 3
addCustomLogoInfo()
S
73 1 5
__construct()
S
82 1 3
setBasicVariablesViewAs()
S
77 1 4
setBasicVariablesView()
S
81 1 3
setGeneralVariablesView()
S
79 1 3
setMinDateView()
S
73 1 5
getLastUnitGraph()
S
69 1 6
renderTemplate()
S
79 1 3
renderView()
S
81 1 3
getDefaultAction()
S
82 1 3
getEnabledPeriodsInUI()
S
76 1 4
setDate()
S
76 1 4
setMaxDateView()
S
73 1 5